package com.hyts.serialize.config;

import com.hyts.serialize.binary.fst.FstSerializeHandler;
import com.hyts.serialize.binary.jdk.JdkSerializeHandler;
import com.hyts.serialize.binary.kryo.KryoSerializeHandler;
import com.hyts.serialize.binary.protobuff.ProtobuffSerializeHandler;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by alex on 2019-06-21.
 * Package:com.hyts.serialize.config
 */
@AllArgsConstructor
public enum SerializeType {


    PROTOSTUFF(ProtobuffSerializeHandler.class),
    KRYO(KryoSerializeHandler.class),
    JDK(JdkSerializeHandler.class),
    FST(FstSerializeHandler.class);

    @Getter
    @Setter
    private Class<?> clazz;



}
